package com.pactera.madp.cp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pactera.madp.cp.api.entity.TakeOverEntity;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

public interface TakeOverMapper extends BaseMapper<TakeOverEntity> {

    Boolean isExist(@Param("corpId") Integer corpId, @Param("date") LocalDate date, @Param("dailyType") Integer dailyType);

    Boolean statisic(@Param("corpId") Integer corpId, @Param("date") LocalDate date, @Param("dailyType") Integer dailyType);

    Integer getTakeOverCount(@Param("corpId") Integer corpId, @Param("date") LocalDate date, @Param("dailyType") Integer dailyType);

}
